#include <time.h>
#include <stdio.h>                                   
#include <math.h>


/*#define SIZE  18
#define TABLESIZE 18*17*16*15*14*13*12 //- size of visited table 980179200
#define PATTERNSIZE 7
#define SHRINKDATABASE 0 //can be done only when max value in PDB is 15
*/

/*#define SIZE  17
#define TABLESIZE 17*16*15*14*13*12*11*10 //- size of visited table 980179200
#define PATTERNSIZE 8
#define SHRINKDATABASE 0 //can be done only when max value in PDB is 15*/
// 
/*
#define SIZE  16
#define TABLESIZE 16*15*14*13*12*11*10 //- size of visited table 980179200
#define PATTERNSIZE 7
#define SHRINKDATABASE 0 //can be done only when max value in PDB is 15*/
//d24099002264d5132ecc5f6b1cc01714 *Size16Pattern_9_10_11_12_13_14_15

/*#define SIZE  15
#define TABLESIZE 15*14*13*12*11*10*9 //- size of visited table 980179200
#define PATTERNSIZE 7
#define SHRINKDATABASE 0 //can be done only when max value in PDB is 15*/

#define SIZE  14
#define TABLESIZE 14*13*12*11*10*9*8 //- size of visited table 980179200
#define PATTERNSIZE 7
#define SHRINKDATABASE 0 //Input: 7 8 9 10 11 12 13*/
//89b173faa35cdafacfad44836802558f *Size14Pattern_7_8_9_10_11_12_13

/*#define SIZE  13
#define TABLESIZE 13*12*11*10*9*8*7 //- size of visited table 980179200
#define PATTERNSIZE 7
#define SHRINKDATABASE 0 //Input: 6 7 8 9 10 11 12 */

/*#define SIZE  12
#define TABLESIZE 12*11*10*9*8*7*6 //- size of visited table 980179200
#define PATTERNSIZE 7
#define SHRINKDATABASE 0 //Input: 5 6 7 8 9 10 11 */

/*
#define SIZE  11
#define TABLESIZE 11*10*9*8*7*6*5 //- size of visited table 980179200
#define PATTERNSIZE 7
#define SHRINKDATABASE 0 //Input: 4 5 6 7 8 9 10 */

/*#define SIZE  10
#define TABLESIZE 10*9*8*7*6 //- size of visited table
#define PATTERNSIZE 5
#define SHRINKDATABASE 1 //can be done only when max value in PDB is 15*/
//5 6 7 8 9 




#define UCHAR unsigned char
#define FALSE 0
#define TRUE  1


#ifdef HASH_LEN
#undef HASH_LEN 
#endif

#define HASH_LEN 100009

#define MAX(x,y) (x>y?x:y)
#define MIN(x,y) (x<y?x:y)
#define max(a,b) (((a) > (b)) ? (a) : (b))

